package com.ssy.lingxi.product.model.request;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author xiaomai
 * @Description 可选的属性 请求类
 * @Date 2022/3/8 11:33
 **/
@Data
public class CommodityGoodsAttributeRequest {

    /**
     * 属性id
     */
    private List<Long> attributeIdList;

    /**
     * 属性值id
     */
    private List<Long> attributeValueIdList;

    /**
     * 品牌idList
     */
    private List<Long> brandIdList;

    /**
     * 当前品类id
     */
    @NotNull(message = "品类id不能为空")
    private Long categoryId;

    @JsonIgnore
    private List<Long> categoryIdList;
}
